CallbackAnimationTarget.this

Creates a new AdwAnimationTarget that calls the given @callback during the animation.

  1. this(AdwCallbackAnimationTarget* adwCallbackAnimationTarget, bool ownedRef)
  2. this(AdwAnimationTargetFunc callback, void* userData, GDestroyNotify destroy)
    class CallbackAnimationTarget
    this

Parameters

callback AdwAnimationTargetFunc

the callback to call

userData void*

the data to be passed to @callback

destroy GDestroyNotify

the function to be called when the callback action is finalized

Return Value

the newly created callback target

Throws

ConstructionException GTK+ fails to create the object.

Meta